import { axios } from "../../utils/request";

const api = {
    detail: "/work/reportUser/detail",
    saveReportUser: "/work/reportUser/saveReportUser",
};

/**
 * 保存
 */
export function saveReportUser(parameter) {
  return axios({
    url: api.saveReportUser,
    method: "post",
    data: parameter
  });
}

/**
 * 查询详情
 */
export function detail(parameter) {
  return axios({
    url: api.detail,
    method: "get",
    params: parameter
  });
}
